package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.Technician;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TechnicianMapper {

    public List<Technician> selectAllTechnician(Technician technician);

    public Technician selectTechnicianById(Long id);

    public int insertTechnician(Technician technician);

    public int updateTechnician(Technician technician);

    public int updateStatus(Technician technician);

    public int updateIfIndex(Technician technician);

    public int batchUpdateStatus(@Param("ids") List<Long> ids, @Param("status") String status);

    public void deleteTechnicianById(Long id);

    //给官网调用的
    public List<Technician> selectList (Technician technician);

}
